const CODE = new Object(null);

CODE.SUCCESS = {status: "0000", msg: "操作成功"};
CODE.FAILED = {status: "9999", msg: "操作失败"};
CODE.MUST_LOGIN = {status: "0004", msg: "会话过期，请重新登录"};
CODE.IS_EXPIRED = {status: "0005", msg: "请求接口已过期"};
CODE.ACCESS403 = {status: "0403", msg: "没有足够的权限访问该接口"};
CODE.LOGIN_NP_NULL = {status: "1000", msg: "登录账号和登录密码不能为空"};
CODE.USER_NOT_EXIST = {status: "1001", msg: "账号或密码不匹配"};
CODE.DATA_NULL = {status: "1003", msg: "参数不能为空"};
global.CODE = CODE;
exports = module.exports = CODE;